package org.neuedu.his.service.sys;

import org.neuedu.his.mapper.UserMapper;
import org.neuedu.his.model.User;
import org.neuedu.his.model.UserBean;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
@Transactional
public class DoctorService {
@Autowired
    UserMapper userMapper;
    public List<UserBean> getNeeRuleUsers(int deptId, int registLevelId) {
        return userMapper.getNeeRuleUsers(deptId,registLevelId);

    }
}
